home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
mxutil
/
tspak17
/
piano.doc
< prev
next >
Wrap
Text File
|
1994-08-30
|
3KB
|
104 lines
PIANO.COM is a silly little program to play the SN76496-equivalent
circuitry on the PC-Jr or Tandy 1000-series like a piano. The
following keys are used:
Key Note
caps lock not used
left shift A2
A A#2
Z B2
S not used
X C3
D C#3
C D3
F D#3
V E3
G not used
B F3
H F#3
N G3
J G#3
M A3
K A#3
, B3
L not used
. C4
; C#4
/ D4
' D#4
right shift E4
enter not used
` not used
tab F4
1 F#4
Q G4
2 G#4
W A4
3 A#4
E B4
4 not used
R C5
5 C#5
T D5
6 D#5
Y E5
7 not used
U F5
8 F#5
I G5
9 G#5
O A5
0 A#5
P B5
- not used
[ C6
= C#6
] D6
backspace D#6
\ E6
<esc> exits the program. In accordance with the sound chip's
capabilities, up to 3 notes can be played at a time. Notes given are
American Standard Pitch, Equal Tempered Scale, or as close as I can
get; C4 (period) is middle C. High notes are not as close to the true
frequency as low ones.
This program always plays notes at the maximum volume; there is no
volume control.
When the program starts, it displays the keyboard layout:
-- Tandy Piano --
1 2 3 5 6 8 9 0 = backsp
F#4 G#4 A#4 C#5 D#5 F#5 G#5 A#5 C#6 D#6
tab Q W E R T Y U I O P [ ] \
F4 G4 A4 B4 C5 D5 E5 F5 G5 A5 B5 C6 D6 E6
A D F H J K ; '
A#2 C#3 D#3 F#3 G#3 A#3 C#4 D#4
shift Z X C V B N M , . / shift
A2 B2 C3 D3 E3 F3 G3 A3 B3 C4 D4 E4
Period is middle C. Hit <escape> to halt the program.
This program was written on a Tandy 1000TL with a 101-key keyboard.
If you have another keyboard, the key for the top note will be in the
wrong place. On the 83-key keyboard, the top note is the \ key on the
bottom row next to the left shift. On the 84-key keyboard, the top
note is the \ key on the top row between = and backspace. On the old
Tandy keyboard (1000TX and prior), the top note is the left arrow key.
This program requires a PCjr or Tandy 1000 (or later Tandy) with the
Texas Instruments SN76496 3-voice sound chip or equivalent circuitry.
The program will check to see if you have the chip. If not, the
following will be displayed:
This program requires a PC-Jr or Tandy 1000 or 2500 with a 3-voice tone
generator. It will not run on your machine.
This little time-waster is free, no warraties, etc., etc. If you have
comments for me, you can send them to tvdog@delphi.com, or post to
comp.sys.tandy, which I usually follow.